@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

// main-container global css
.app-container {
  padding: 10px;
  box-sizing: border-box !important;
}


.search-btns {
  height: 30px;
  line-height: 30px;
  border-radius: 5px 5px 5px 5px;
  opacity: 1;
  border: 1px solid #0480FB;
  font-size: 16px;
  font-weight: 400;
  color: #3699FB;
  padding: 0px 10px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  cursor: pointer;
  margin: 0 5px;
  white-space: nowrap;

  >p {
    cursor: pointer;
  }
}

//搜索栏content
.el-collapse-item__content {
  width: calc(100% -150px) !important;
  padding-bottom: 0px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  .select-box-content {
    display: flex;
    color: #4A494A;
  }

  .select-box-leng-content {
    width: 35%;
    color: #4A494A;
  }
}

//搜索栏header
.el-collapse-item__header .el-collapse-item__arrow {
  display: none;
}

.el-collapse-item__header {
  // element-ui 未全局生效
  background-color: transparent;
  border: 0;
  height: 40px;
  padding-right: 13px;
  justify-content: flex-end;
  align-items: center;
}

.el-collapse {
  border: 0;
  padding: 0;
}

.el-collapse-item__wrap {
  position: relative;
  background-color: #eaf0f5;
  border: 0;
  border-radius: 5px;
}

::-webkit-scrollbar {
  width: 8px;
  height: 5px;
}

::-webkit-scrollbar-thumb {
  background: transparent;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: hsla(0, 0%, 53%, 0.4);
}

::-webkit-scrollbar-track {
  background: hsla(0, 0%, 53%, 0.1);
}

.ml-20 {
  margin-left: 20px;
}

.mr-20 {
  margin-right: 20px;
}

.mt-20 {
  margin-top: 20px;
}

.mb-20 {
  margin-bottom: 20px;
}

.w50p,
.w100p {
  width: 48%;
  display: inline-block;
  .el-select {
    width: 100%;
  }

  .el-date-editor {
    width: 100%;
  }

  .el-cascader {
    width: 100%;
  }
}

.w100p {
  width: 96%;
}